package com.bestcem.xm.user.service.dto.user;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import lombok.Data;

/**
 * 导入账号数据
 *
 * @author Linked <zhijian.lin@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/1 14:51
 */
@ContentStyle(borderBottom = BorderStyleEnum.THIN, borderTop = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)
@Data
public class ExportUserAccountDTO {

    /**
     * 账号名称
     */
    @ExcelProperty(value = "账号名*", index = 0)
    private String userName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名*", index = 1)
    private String name;


    /**
     * 邮箱
     */
    @ExcelProperty(value = "邮箱*", index = 2)
    private String email;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号", index = 3)
    private String phone;

    /**
     * 所属组织
     */
    @ExcelProperty(value = "所属组织名称*", index = 4)
    private String groupNames;


    /**
     * 所属组织
     */
    @ExcelProperty(value = "所属组织编码*", index = 5)
    private String groupCode;

    /**
     * 角色
     */
    @ExcelProperty(value = "角色*", index = 6)
    private String roleNames;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 7)
    private String content;

}
